package com.example.mybatisdemo.entity;

import java.util.Date;

/**
 * @author swxu_2005@163.com
 * @date 2018/12/14
 */
/*
  建表语句如下：
  CREATE TABLE card(
    id          BIGINT  NOT NULL,
    student_id  BIGINT  NOT NULL,
    card_no     VARCHAR(32)  NOT NULL,
    status      INT  NOT NULL,
    reg_date    DATE,
    PRIMARY KEY(id)
  );
 */
public class CardDO {

  private Long id;

  private Long studentId;

  private String cardNo;

  private Integer status;

  private Date regDate;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getStudentId() {
    return studentId;
  }

  public void setStudentId(Long studentId) {
    this.studentId = studentId;
  }

  public String getCardNo() {
    return cardNo;
  }

  public void setCardNo(String cardNo) {
    this.cardNo = cardNo;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public Date getRegDate() {
    return regDate;
  }

  public void setRegDate(Date regDate) {
    this.regDate = regDate;
  }
}
